<?php 
require_once(dirname(__FILE__).'/MySQLDomain.php');
class EmailDomain extends MySQLDomain {

	public static $CollectionName="email";

	public function __construct($data) {
		parent::__construct($data, EmailDomain::$CollectionName, "mail_id");
	}

	public function getMail_id() {
		return $this->getField("mail_id");
	}
	public function setMail_id($mail_id) {
		$this->setField("mail_id", $mail_id);
	}

	public function getLang() {
		return $this->getField("lang");
	}
	public function setLang($lang) {
		$this->setField("lang", $lang);
	}

	public function getType() {
		return $this->getField("type");
	}
	public function setType($type) {
		$this->setField("type", $type);
	}

	public function getSubject() {
		return $this->getField("subject");
	}
	public function setSubject($subject) {
		$this->setField("subject", $subject);
	}

	public function getText() {
		return $this->getField("text");
	}
	public function setText($text) {
		$this->setField("text", $text);
	}

	public function getHtml() {
		return $this->getField("html");
	}
	public function setHtml($html) {
		$this->setField("html", $html);
	}

}
?>